package com.mask.sca.system.api.feign;

import com.mask.sca.core.entity.UserDTO;
import com.mask.sca.core.response.ApiResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author：jian
 * @Package：com.mask.sca.member.api.feign
 * @Project：mask-sca-cloud
 * @name：FeignMemberService
 * @Date：2025/7/25 17:22
 * @Filename：FeignMemberService
 */

@FeignClient(value = "mask-sca-system",path = "/api/system")
public interface FeignSystemService {
    @GetMapping("/loadByUsername")
    ApiResponse<UserDTO> loadByUsername(@RequestParam("username") String username);

}
